System protection apparatus

ABSTRACT

APPARATUS IN A COMPUTER SYSTEM FOR PROTECTING OPERATING PROGRAMS AND RELATED DATA STORED IN THE COMPUTER MEMORY AND FOR PREVENTING UNAUTHORIZED ACTIONS IN THE SYSTEM WHILE AN UNDEBUGGED PROGRAM IS BEING EXECUTED BY THE SYSTEM. A STATUS REGISTER IS PROVIDED IN THE SYSTEM ARITHMETIC UNIT FOR STORING A SYSTEM PROTECTION STATUS WORD. ANOTHER REGISTER IS PROVIDED TO IDENTIFY THE GROUP OR VOLUME OF MEMORY STORAGE LOCATIONS WHOSE PROTECTION STATUS IS DEFINED BY THE STATUS WORD IN THE STATUS REGISTER. EACH TIME MEMORY IS ADDRESSED, THE STATUS WORD APPLICABLE TO THE ADDRESSED MEMORY STORAGE LOCATION IS CHECKED. THE STATUS WORD DEFINES ONE OF A PLURALITY OF PROTECTION STATES FOR THE ADDRESSED MEMORY STORAGE LOCA-   TION. LOGIC GATES ARE PROVIDED WHICH ARE RESPONSIVE TO THE PROTECTION STATUS WORD, TO THE TYPE OF OPERATION FOR WHICH MEMORY IS BEING ADDRESSED, AND TO OTHER CONDITIONS TO DETERMINE IF A SYSTEM PROTECTION VIOLATION HAS OCCURED. UPON DETECTION OF A SYSTEM PROTECTION VIOLATION, ACCESS TO THE ADDRESSED MEMORY LOCATION IS INHIBITED AND EXECUTION OF AN ERROR ROUTINE IS INITIATED.

Fab. 9, 1971 5, HARMQN ETAL 3,562,717

SYSTEM PROTECTION APPARATUS Filed Feb. 23, 1968 24 Sheets-Sheet I ram fire/g m; r523 EL 56 mam 1W 02 rue I777? w 14 0 6472. 05-6472.- Jis 3 a lFIlE 3 b 4 42 41 HUM HUM [WI 5e75,? E15- 3 a Mr, 47 #523 i 5 H812 MU'F #232 /V4/Vfi- 6:475 NOE-6 47f R5 3d HIE 3 e a I flfi tm an uil azz uc 114 5 Z if: imam: mu: re 0 /114 P a 02m 24 Sheets-Sheet 4.

,aa waver 4002535 ee-s/sme S. A. HARMON 51' AL SYSTEM PROTECTION APPARATUS s'raem (Al/7 4 1. r mfi umarmm e m mwmuummnwr A m Wm" WM; .J 1* 3 M MM A. H J 1 W mm M HQ M lllrx "F a F m mw w m M m 3.. L 1%" mm 2 $5 1 a wm QwE a m n .11.---" w u a a m m w m m e 1: w I a aw um m Zm I m rz M 00 m mm m+M6 m Mm m m.. n 0 I n m w? m L m Feb. 9, 1971 s, HARMQN ET AL 3,562,717

SYSTEM PROTECTION APPARATUS 24 Sheets-Sheet 5 Filed Feb. 23, 1968 MQbh Nah \g 24 Sheets-Sheet 8 06441 $741 66 Wm .IA/ 4 S. A. HARMON ET AL SYSTEM PROTECTION APPARATUS meeecf. 1: NW! mea er 574m! um r-esa/sree 10 Bar- -1.1

Feb. 9, 1971 Filed Feb. 23, 1968 Mame) PFOff'f/OA/ $74705 W050 TEA/1675? FPJM Feb. 9, 1971 Filed Feb. 25, 1968 MAOS MAO4

MAOZ

MAO].

MAOO

MAM

MAIZ

MAll

MAlO

MAO9

MAGS

MAO7

MAOG

SAMI

SAMI

SAMI

SAMI

SAMI

SAMI

5. A. HARMON ET AL SYSTEM PROTECTION APPARATUS LOGICAL SCHEMATIC DIAGRAMS FIlO SAMI

SAMI

SAMI

SAMI

SAMI

SAMI

FPll

FPlO

FPO9

LOGIC GATES 150 FIG. /3

F108 SAMI F107 SAMI F106 SAMI 24 Shee tS-Sheet 1O SAMP SAMP

SAMP

SAMP

SAMP

SAMP

FPOS SAMP FPO7 SAMP FPOG SAMP FPOS FPO2

FPOl

FPOO

LOGICAL SCHEMATIC DIAGRAMS FIG. /5

SAMP

SAMP

SAMP

SAMP

SAMP 4 SAMP FVOS

F'VO4 FVOZ MAMV

LOGIC GATES 152 MTRP (sc01 $005) SCOS MTRP Feb. 9, 1971 5 HARMQN ETAL 3,562,717

SYSTEM PROTECTION APPARATUS Filed Feb. 23, 1968 24 Sheets-Sheet 11 FVOS MAM MIAV W03 MA" 1K MTAV FVO4 MA13 MTAV W PIKE MTAV FVO3 MA12 MTAV W63 PIKE MTAV FVOZ MAll MTAV W WI MrAv FVOl L MAlO MTAV 'FVOT RUG MTAV FVOO MA09 MIAV LOGICAL SCHEMATIC DIAGRAMS V-REGISTER 104 FIG. /6

M1713 m? m MTRM B'PTI mm SAMI CUI 31 T? MF17 MSSI W5? W m s'roa mt m MTRM scoa DSTA $004 DSTA (mm W17) FTRM MSTM TLPE 'FTTM MRTM TLPE MTRM FTRM LOGICAL SCHEMATIC DIAGRAMS MISCELLANEOUS SIGNALS FIG. /7

Feb. 9, 1971 5 HARMON EI'AL 3,562,711

SYSTEM PROTECTION APPARATUS Filed Feb. 23, 1968 24 Sheets-Sheet 12 mm W03 MAM W05 W W MA13 W04 mm m WU! MA12 W03 E17 M2 M11 FVOZ mm mm WOT MAlO FVOl m W60 MAO9 FVOO W LOGICAL SCHEMATIC DIAGRAMS LOGIC GATES 155 FIG. /8

MVDF (m m 4 FEMS) MF13 (MFIA SCOl FREQ) LmICAL SCHEMATIC DIAGRAM LOGIC GATE 165 F IG l9 MTAV MVDF MRLS FAMV MVDF TLPE. TCKI TKHV TLPE MAMV FAMV MLSR MAMV TSCB MVDA MVDF MAHV MALI MAMV MRLS LOGICAL SCHEMATIC DIAGRAMS 1 vowu: DIFFERENCE Long 168 FIG. 20

Feb. 9, 1971 Filed Feb. 23, 1968 FLOZ MLSR

MLSR

UQIQ

MLSR

MLSR

MLSR

MLSR

MLSR

MLSR

UIQS

MLSR

UIUS

MLSR

MLSR

MLSR

UUZS

MLSR

MLSR

MLSR

TCKI

MALI

TCKI

MALI

TCKI

MALI

TCZKI MALI TCKI

MALI

TCKI

MALI

TCKI

MALI

TCKI

MALI

TCKI

MALI

TCKI

MALI

TCKI

MALI

TCKI

MALI

TCKI

MALI

TCKI

MALI

TCKI

MALI

TCKI

MALI

L-REGISTER FIG. 2/

TCKI

TCKI

TCKI

TCKI

TCKI

TCKI

TCKI

TCKI

TCKI

TCKI

TCKI

TCKI

TCKI

TCKI

24 Sheets-Sheet 13 Feb. 9, 1971 5 HARMQN ETAL 3,562,717

SYSTEM PROTECTION APPARATUS Filed Feb. 23, 1968 24 sheets-Sheet 1 mm FL15 MAO6 MA07 MAOS FL13 PIKO' MAO7 MADE M3X1 FL14 MA06 MAO? mos FL12 m MA07 MAos LOGICAL SCHEMATIC DIAGRAMS LOGIC GATES 160 FIG. 22 ,g

M21X FLll MAO6 m7 MAO8 FLO9 PIA 0?; W07 MAOS M2Xl FLlO MAO6 W7 MA08 FL08 m W107 MAO8 LOGICAL SCHEMATIC DIAGRAMS LOGIC GATES 161 FIG. 23

MllX FLO7 MAO6 MA07 m FLO5 WIDE MA07 HA'OS MlXl FL06 MAO6 MAO7 FIKUE FL04 m MAO7 m LOGICAL SCHEMATIC DIAGRAMS LOGIC GATES 162 FIG. 24

MOlX FLO3 mos W167 'MA'TB FLOI M R 0K PIA U7 MA'UE MOXl FLO2 mos mm m 4 FLOO m m m LOGICAL SCHEMATIC DIAGRAMS LOGIC GATES 163 FIG. 25

Feb. 9, 1971 s HARMQN ETAL 3,562,717

SYSTEM PROTECTION APPARATUS Filed Feb. 23, 1968 24 Sheets-Sheet 15 MLlX M31X M21X MllX 4 M01)( MLXl M3Xl MZXI MlXl MOXl LOGICAL SCHEMATIC DIAGRAMS LOGIC GATES 170 FIG. 26

MLll 1 MLlX MLXl MLOO m m M'LOl WEIR MLXl LOGICAL SCHEMATIC DIAGRAMS LOGIC GATES 172, 173 AND 174 F/GZ? MFO4 sc01 (wool MT TIP TTSE MTRM m m TSCA m DCN2) MF03 MF17 MF09 MLOO mos MFO7 sc01 MUG MFOB MFOZ sc04 MLOl MFIO MF09 MF09 MF12 MF18 FED! MFOl scoa MF17 moo MFO9 LOGICAL SCHEMATIC DIAGRAMS LOGIC GATES 175 FIG. 28

Feb. 9, 1971 3, HARMQN EI'AL 3,562,717

SYSTEM PROTECTION APPARATUS Filed Feb. 23, 1968 24 Sheets-Sheet 1s MF18 sc02 DSTQ sc03 MF17 m MFIZ DID m MFlO DSTA mm MFOQ MTRM WITF B'Ff? m (SAMI 4 SAMP) MFO8 WT MFO7 MTRM m m m (SAMI 4 SAMP) MF06 $003 4 owx sc02 LOGICAL SCHEMATIC DIAGRAMS LOGIC GATES 180 MFVL MFOl MFO2 M'F03 MFO4 LOGICAL SCHEMATIC DIAGRAM LOGIC GATE 185 FIG. 30

Feb. 9, 1971 5 A, HARMQN ETAL 3,562,717

SYSTEM PROTECTION APPARATUS Filed Feb. 23, 1968 24 Sheets-Sheet 17 MFVL MTRM W m m (SAMI SAMP) mm (moo scoa moo (scoa 1 DLDX 5002) M'LOI DSTA sc04 m (scoz DS'IQ sc03) BUSY) MLXl MXAQ $001] MTRM mm DGN2 sc01 TSCA SEW m WDOl W SCOl TTSE LOGICAL SCHEMATIC DIAGRAM CONDITIONS FOR SYSTEM PROTECTION VIOLATION FTRP MFVL TLPE FTPR MRTM TLPE MTRP FTRP LOGICAL SCHEIMATIC DIAGRAM TRAP LOGIC 190 FIG. 33

Feb. 9, 1971 Filed Feb. 23. 1968 -PROTECTION STATUS CODE'DOIMLOOI 'SEQUENCE CONTROL STATE 4 (SO04) -NOT RELATIVE ADDRESSING IN QUASI SUBROUTINE IMFIT) 'IN TR'AP MODE, NO VOLUME DIFFERENCE, NOT PROGRAM LOGIC GATE MFOI INT LOGIC GATE MFOZ ADDRESSING FROM I-REGISTER IMFOS ERRUPT, NOT ADDRESSING OOOOO?-OOOI7 AND -PROTECTION STATUS CODE'OI IMLOII *SEQUENCE CONTROL STATE 4' (SCO4I -STA COMMAND AND NOT RELATIVE ADDRESSING IN QUASI SUBROUTINE (MFIOI. IN TRAP MODE, NO VOLUME DIFFERENCE, NOT PROGRAM INTERRUPT, NOT ADD AND ADDRESSING FROM I-REGISTER RESSING ooooo -ooon IMFOSI -PROTECTION STATUS CODE OO OR OI IMLIXI SEQUENCE CONTROL STATE 2 (SO02) OR STQ COMMAND AND SEQUENCE CONTROL STATE 3 (MFIBI -NOT LDX COMMAND AND NOT RELATIVE ADDRESSING IN QUASI SUBROUTINE IMFIZI IN TRAP MODE, NO VOLUME DIFFERENCE, NOT PROGRAM INTERRUPT, NOT ADDRESSING OOOOOB'OOOI7B AND ADDRESSING FROM I-REGISTER IMFOSI PROTECTION STATUS CODE I O0 (MLOOI SEQUENCE CONTROL STATE 3 OR LDX COMMAND AND SEQUENCE CONTROL STATE 2 (MFOG) NOT RELATIVE ADDRESSING IN QUASI SUBROUTINE (MFITI -IN TRAP MODE, NO VOLUME DIFFERENCE, NOT PROGRAM INTERRUPT, NOT ADDRESSING OOOOO3 OOOIT ADDRESSING FROM I-REGISTER (MFOSI 3 AND 'PROTECTION STATUS CODE I O0 OR IO (MEXII SEQUENCE CONTROL STATE l ISCOII 'NOT OBJECT INSTRUCTION OF XEC COMMAND QUASI SUBROUTINE IMFOSI IN TRAP MODE, NO VOLUME DIFFERENCE NOT PROGRAM INTERRUPT, NOT ADDRESSING OOOOO -OOOIT AND ADDRESSING FROM I-REGISTER OR P-REGISTER IMFOTI 'WATCHDOG ERROR moon -TRAP FLIP-FLOP NOT sET mm) -8EOUENCE CONTROL sun I ISCOI TTSEI -m TRAP MODE 0mm) mo voumE DIFFERENCE (W151i) -GEN 2 COMMAND (0mm -$EQUENCE CONTROL STATEI ISCOI TSCAI F --0T PROGRAM INTERRUPT I I 7 -NOT ALREADY TRAPPED (m) LOGIC LOGIC as GATE GATE MFVL uro4 FCC-3. 3E

Feb. 9, 1971 5 HARMQN ET AL 3,562,717

SYSTEM PROTECTION APPARATUS Filed Feb. 25, 1968 24 sheets-sheet 19 OPERATING Z 13 2:23:5 FETCH msmucnou REGION (PROTECTION) PROTECTION STATUS STATUS 00 READ OR WRITE DATA REGION (PROTECTION STATUS =IO) READ OR WRITE DATA REGION (PROTECTION STATUS IO) UNDEBUGGED PROGRAM (PROTECTION STATUS ll IOI) MEMORY MAP IIE 34 Feb. 9, 1971 5 HARMON EIAL 3,562,717

SYSTEM PROTECTION APPARATUS 24 Sheets-Sheet 20 Filed Feb. 23, 1968 muzmmuunzo MID40 wIh owmDdu .rdIk

mm rfi oukomhwo wuzumwuhto u2D40 uozummmuzo uED40 l 26 1950 025:.

cmmmumaeu Eu: mo E Fwl: :55 mo 12% wouw m0 noum NOQw Oow 

